import { MemberEntity } from "../model/member";

export const getMemberCollection=():Promise<MemberEntity[]>=>{
    const promise=new Promise<MemberEntity[]>((resolve,reject)=>{
        setTimeout(() => {
            resolve([
                {
                    id:1457912,
                    login:"bbbbbbb",
                    avatar_url:"https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/24e2dc30d9fd4cb4b2bfb47b5b1b7791~tplv-k3u1fbpfcp-no-mark:100:100:100:100.awebp"
                },
                {
                    id: 4374977,
                    login: "Nasdan",
                    avatar_url: "https://avatars.githubusercontent.com/u/4374977?v=3"
                }
            ])
        }, 500);
    })
    return promise;
}